package com.tg.base.list.tgnode;

public class TgResult {

    public static TgResult of(Boolean done, Object value) {
        TgResult tgResult = new TgResult();
        tgResult.setDone(done);
        tgResult.setValue(value);
        return tgResult;
    }

    private Boolean done;

    private Object value;

    public Boolean getDone() {
        return done;
    }

    public void setDone(Boolean done) {
        this.done = done;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }
}
